<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org">

  <title>Update the Webserver</title>
  <meta name="GENERATOR" content=
  "Modular DocBook HTML Stylesheet Version 1.79">
  <link rel="HOME" title="Privoxy Developer Manual" href="index.html">
  <link rel="PREVIOUS" title="Releasing a New Version" href=
  "newrelease.html">
  <link rel="NEXT" title=
  "Contacting the developers, Bug Reporting and Feature Requests" href=
  "contact.html">
  <link rel="STYLESHEET" type="text/css" href="../p_doc.css">
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
  <style type="text/css">
body {
  background-color: #EEEEEE;
  color: #000000;
  }
  :link { color: #0000FF }
  :visited { color: #840084 }
  :active { color: #0000FF }
  span.c3 {font-style: italic}
  table.c2 {background-color: #E0E0E0}
  hr.c1 {text-align: left}
  </style>
</head>

<body class="SECT1">
  <div class="NAVHEADER">
    <table summary="Header navigation table" width="100%" border="0"
    cellpadding="0" cellspacing="0">
      <tr>
        <th colspan="3" align="center">Privoxy Developer Manual</th>
      </tr>

      <tr>
        <td width="10%" align="left" valign="bottom"><a href=
        "newrelease.html" accesskey="P">Prev</a></td>

        <td width="80%" align="center" valign="bottom"></td>

        <td width="10%" align="right" valign="bottom"><a href="contact.html"
        accesskey="N">Next</a></td>
      </tr>
    </table>
    <hr class="c1" width="100%">
  </div>

  <div class="SECT1">
    <h1 class="SECT1"><a name="WEBSERVER-UPDATE" id="WEBSERVER-UPDATE">7.
    Update the Webserver</a></h1>

    <p>The webserver should be updated at least with each stable release.
    When updating, please follow these steps to make sure that no broken
    links, inconsistent contents or permission problems will occur (as it has
    many times in the past!):</p>

    <p>If you have changed anything in the stable-branch documentation source
    SGML files, do:</p>

    <table class="c2" border="0" width="100%">
      <tr>
        <td>
          <pre class="PROGRAMLISTING">
  make dok dok-pdf # (or 'make redhat-dok dok-pdf' if 'make dok' doesn't work for you)
</pre>
        </td>
      </tr>
    </table>

    <p>That will generate <tt class=
    "FILENAME">doc/webserver/user-manual</tt>, <tt class=
    "FILENAME">doc/webserver/developer-manual</tt>, <tt class=
    "FILENAME">doc/webserver/faq</tt>, <tt class=
    "FILENAME">doc/pdf/*.pdf</tt> and <tt class=
    "FILENAME">doc/webserver/index.html</tt> automatically.</p>

    <p>If you changed the manual page sources, generate <tt class=
    "FILENAME">doc/webserver/man-page/privoxy-man-page.html</tt> by running
    <span class="QUOTE">"<b class="COMMAND">make man</b>"</span>. (This is a
    separate target due to dependencies on some obscure perl scripts [now in
    CVS, but not well tested]. See comments in <tt class=
    "FILENAME">GNUmakefile</tt>.)</p>

    <p>If you want to add new files to the webserver, create them locally in
    the <tt class="FILENAME">doc/webserver/*</tt> directory (or create new
    directories under <tt class="FILENAME">doc/webserver</tt>).</p>

    <p>Next, commit any changes from the above steps to CVS. All set? If
    these are docs in the stable branch, then do:</p>

    <table class="c2" border="0" width="100%">
      <tr>
        <td>
          <pre class="PROGRAMLISTING">
  make webserver
</pre>
        </td>
      </tr>
    </table>

    <p>This will do the upload to <a href="http://www.privoxy.org/" target=
    "_top">the webserver</a> (www.privoxy.org) and ensure all files and
    directories there are group writable.</p>

    <p>Please do <span class="emphasis EMPHASIS c3">NOT</span> use any other
    means of transferring files to the webserver to avoid permission
    problems. Also, please do not upload docs from development branches or
    versions. The publicly posted docs should be in sync with the last
    official release.</p>
  </div>

  <div class="NAVFOOTER">
    <hr class="c1" width="100%">

    <table summary="Footer navigation table" width="100%" border="0"
    cellpadding="0" cellspacing="0">
      <tr>
        <td width="33%" align="left" valign="top"><a href="newrelease.html"
        accesskey="P">Prev</a></td>

        <td width="34%" align="center" valign="top"><a href="index.html"
        accesskey="H">Home</a></td>

        <td width="33%" align="right" valign="top"><a href="contact.html"
        accesskey="N">Next</a></td>
      </tr>

      <tr>
        <td width="33%" align="left" valign="top">Releasing a New
        Version</td>

        <td width="34%" align="center" valign="top">&nbsp;</td>

        <td width="33%" align="right" valign="top">Contacting the developers,
        Bug Reporting and Feature Requests</td>
      </tr>
    </table>
  </div>
</body>
</html>
